<extend name="Index:base" />
<block name="body">
<div class="hd-menu-list">
	<ul>
		<li>
			<a href="{:U('group')}">用户组列表</a>
		</li>
		<li class="active">
			<a href="#">{$act}用户组</a>
		</li>
	</ul>
</div>
<form onsubmit="return hd_submit(this,'{:U('ajaxGroup')}','{:U('group')}')" class="hd-form">
	<table class="hd-table hd-table-form">
		<thead>
        <tr>
            <td colspan="2">{$act}用户组</td>
        </tr>
    	</thead>
    		<tr>
    			<th class="hd-w120">用户组名称<span class="star">*</span></th>
    			<td ><input value="{$data.title}" class="hd-w300" type="text" required name="title"><span class="hd-validate-notice">习惯英文表示</span></td>
    		</tr>
    		<tr>
    			<th>用户组状态<span class="star">*</span></th>
    			<td>
    				<label><input <if condition="!$data or $data['status'] eq 1">checked='checked'</if> type="radio" name="status" value='1'>开启</label>
    				<label><input <if condition="$data and $data['status'] eq  0">checked='checked'</if> type="radio" name="status" value='0'>关闭</label>
    			</td>
    		</tr>
	</table>
	<input type="hidden" name="id" value="{:I('get.id')}">
	<input type="submit" value="确定" class="hd-btn">
</form>
</block>